package com.eight.paper.admin.domain.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 试题管理对象 question_base
 * 
 * @author 爱考线上考试系统
 * @date 2023-10-04
 */
@Data
public class QuestionB1Body extends QuestionListBody
{
    @ApiModelProperty("选项")
    @NotEmpty(message = "选项不能为空")
    private List<B1Option> options;

    @ApiModelProperty("题目")
    @NotEmpty(message = "题目不能为空")
    private List<B1Choice> choices;
}
